package web.springboot.param;

import lombok.Data;
import top.lingkang.finalvalidated.constraints.NotBlank;
import top.lingkang.finalvalidated.constraints.NotNull;

/**
 * @author lingkang
 * created by 2025-11-10
 */
@Data
public class MyGroupsParam {
    @NotNull(groups = Update.class)
    private Long id;
    @NotBlank
    private String name;
    @NotNull(groups = Create.class)
    private Integer status;

    public interface Update {

    }

    public interface Create {
    }
}
